package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 汽车对象 car
 * 
 * @author ruoyi
 * @date 2025-02-12
 */
public class Car extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long carId;

    /** 品牌 */
    @Excel(name = "品牌")
    private String carBrand;

    /** 系列 */
    @Excel(name = "系列")
    private String carSeries;

    /** 车型 */
    @Excel(name = "车型")
    private String carType;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal carPrice;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarBrand(String carBrand) 
    {
        this.carBrand = carBrand;
    }

    public String getCarBrand() 
    {
        return carBrand;
    }
    public void setCarSeries(String carSeries) 
    {
        this.carSeries = carSeries;
    }

    public String getCarSeries() 
    {
        return carSeries;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setCarPrice(BigDecimal carPrice) 
    {
        this.carPrice = carPrice;
    }

    public BigDecimal getCarPrice() 
    {
        return carPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carBrand", getCarBrand())
            .append("carSeries", getCarSeries())
            .append("carType", getCarType())
            .append("carPrice", getCarPrice())
            .toString();
    }
}
